//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2007 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   CATEGORY_ITEM_LINE
// AUTHOR           :   Ray Guo 
// DATE CREATE      :   2007/05/24
// DESCRIPTION      :   a VO file for the function, CATEGORY_ITEM_LINE
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2007/05/24   Ray Guo         1.0                 source is generated.
//
//
//
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

package com.erp.app.catalogLogin.vo;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Collection;

import com.erp.framework.model.vo.SimpleSearchMaintStyleVo;
import com.erp.framework.model.pk.SimpleSearchMaintStylePk;
import com.erp.app.catalogLogin.pk.CategoryItemClassPk;
import com.erp.framework.types.CustomBigDecimal;
import com.erp.framework.types.CustomBigInteger;
import com.erp.framework.types.CustomSqlDate;
import com.erp.framework.types.CustomTimestamp;
import com.erp.framework.types.CustomUtilDate;

/**
* <p>A <strong>VO</strong>(Value Object) is a JavaBean which provides property
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this class is to store the data retrieved from the database,
* and the converted data from the web browsers.
*
* @author          Ray Guo 
* @version 1.0     2007/05/24
* @since           FrameWork 1.0
*
*/
public class CategoryItemClassVo extends SimpleSearchMaintStyleVo {

	//DB Table Name: T_CATEGORY_ITEM_CLASS

	//PK Attributes
	private String companyCode;                                                                        //DB Column Name: COMPANY_CODE
	private String itemLine;                                                                           //DB Column Name: ITEM_LINE
	private String itemCategory;                                                                       //DB Column Name: ITEM_CATEGORY
	private String itemClass;                                                                          //DB Column Name: ITEM_CLASS

	//Other Attributes
	private String classItemClassDesc;                                                                 //DB Column Name: ITEM_CLASS_DESC
	private String classStatus;                                                                        //DB Column Name: STATUS
	private String classDcInd;                                                                         //DB Column Name: DC_IND
	private String classDcDate;                                                                        //DB Column Name: DC_DATE
	private String createUser;                                                                         //DB Column Name: CREATE_USER
	private Timestamp createDate;                                                                      //DB Column Name: CREATE_DATE
	private String updateUser;                                                                         //DB Column Name: UPDATE_USER
	private Timestamp updateDate;                                                                      //DB Column Name: UPDATE_DATE
	private String classShowInCatalog;                                                                 //DB Column Name: SHOW_IN_CATALOG

	/**
	* Stores the detail child names by the fully-qualified java class path.
	*
	* @author     Ray Guo 
	* @since      Framework 1.0
	*/
	protected  void setChildTypesName() {
		//this.childTypesName=new String[2];
		//this.childTypesName[0]="com.erp.app.form.beans.FormApprovalListVo";
		//this.childTypesName[1]="com.erp.app.form.beans.FormAttachmentVo";
	}

	/**
	* Stores the table schema name by the fully-qualified java class path.
	*
	* @author     Ray Guo 
	* @since      Framework 1.0
	*/
	protected void setTableSchemaName() {
		this.tableSchemaName="com.erp.app.catalogLogin.schema.CategoryItemClassSchema";
	}

	/**
	* Stores the detail child table schema names by the fully-qualified java class path.
	*
	* @author     Ray Guo 
	* @since      Framework 1.0
	*/
	protected  void setChildTableSchemaNames() {
		//this.childTableSchemaNames=new String[2];
		//this.childTableSchemaNames[0]="com.erp.app.form.beans.FormApprovalListSchema";
		//this.childTableSchemaNames[1]="com.erp.app.form.beans.FormAttachmentSchema";
	}

	/**
	* Stores the DAO name by the fully-qualified java class path.
	*
	* @author     Ray Guo 
	* @since      Framework 1.0
	*/
	protected void setDaoName() {
		this.daoName="com.erp.app.catalogLogin.dao.CategoryItemClassDao";
	}

	/**
	* Returns the primary key for this class.
	* @return      primary key of this class
	*
	* @author     Ray Guo 
	* @since      Framework 1.0
	*/
	public SimpleSearchMaintStylePk getSearchMaintStylePk() {
		return new CategoryItemClassPk(this.companyCode, this.itemLine, this.itemCategory, this.itemClass);
	}

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Ray Guo 
	* @since      Framework 1.0
	*/
	public String toString() {
		String pkStr = "PK: {companyCode = " + this.companyCode
			+ "\n, itemLine = " + this.itemLine
			+ "\n, itemCategory = " + this.itemCategory
			+ "\n, itemClass = " + this.itemClass + "}\n";

		String colStr = "COL: {classItemClassDesc = " + this.classItemClassDesc
			+ "\n, classStatus = " + this.classStatus
			+ "\n, classDcInd = " + this.classDcInd
			+ "\n, classDcDate = " + this.classDcDate
			+ "\n, createUser = " + this.createUser
			+ "\n, createDate = " + this.createDate
			+ "\n, updateUser = " + this.updateUser
			+ "\n, updateDate = " + this.updateDate
			+ "\n, classShowInCatalog = " + this.classShowInCatalog + "}\n";

		return "CategoryItemClassVo.toString() is:\n" + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	public String getCompanyCode() {
		return this.companyCode;
	}

	public String getItemLine() {
		return this.itemLine;
	}

	public String getItemCategory() {
		return this.itemCategory;
	}

	public String getItemClass() {
		return this.itemClass;
	}

	public String getClassItemClassDesc() {
		return this.classItemClassDesc;
	}

	public String getClassStatus() {
		return this.classStatus;
	}

	public String getClassDcInd() {
		return this.classDcInd;
	}

	public String getClassDcDate() {
		return this.classDcDate;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public String getUpdateUser() {
		return this.updateUser;
	}

	public Timestamp getUpdateDate() {
		return this.updateDate;
	}

	public String getClassShowInCatalog() {
		return this.classShowInCatalog;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public void setItemLine(String itemLine) {
		this.itemLine = itemLine;
	}

	public void setItemCategory(String itemCategory) {
		this.itemCategory = itemCategory;
	}

	public void setItemClass(String itemClass) {
		this.itemClass = itemClass;
	}

	public void setClassItemClassDesc(String classItemClassDesc) {
		this.classItemClassDesc = classItemClassDesc;
	}

	public void setClassStatus(String classStatus) {
		this.classStatus = classStatus;
	}

	public void setClassDcInd(String classDcInd) {
		this.classDcInd = classDcInd;
	}

	public void setClassDcDate(String classDcDate) {
		this.classDcDate = classDcDate;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}

	public void setClassShowInCatalog(String classShowInCatalog) {
		this.classShowInCatalog = classShowInCatalog;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}